package com.ww.gss.filter;

import com.ww.gss.exceptions.BusinessException;

public class TokenService {
	private TokenDAO tokendao;

	
	public String getToken1(String clientid) throws BusinessException {
		try{
			return tokendao.getToken1(clientid);
		}catch(Exception e){
			throw new BusinessException(e);
		}
	}
	
	
	
	public TokenDAO getTokendao() {
		return tokendao;
	}

	public void setTokendao(TokenDAO tokendao) {
		this.tokendao = tokendao;
	}

}
